<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <title>Title</title>

  <style>
    body {
      margin: 0;
      padding: 0;
    }

    .header {
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      height: 40px;
      background-color: #6c6a6a;
      display: flex;
      align-items: center;
      position: fixed;
    }

    .header h3 {
      color: white;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
    }
  </style>
</head>
<body>

<div class="header">
  <h3>考试</h3>
</div>

<%@ include file="main.jsp" %>

<script>
  window.onload = function () {
    setQuestionIndex()
  }
</script>
</body>
</html>
